{template "content","header"}
<!--main-->
<div class="main">
	<div class="indextopl">
		<div class="news-hot">
        	<div class="content">
        	{pc:content  action="position" posid="2" order="listorder DESC" num="4"}
				{loop $data $v}
				  <h4 class="blue"><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{str_cut($v[title],50)}</a></h4>
                <p>{if $n==1}<img src="{thumb($v[thumb],90,60)}" width="90" height="60" />{/if}{str_cut(strip_tags($v[description]), 170)}</p>
                <div class="bk10 hr"><hr /></div>
				{/loop}
			{/pc}
            </div>
        </div>
	</div>
	<div class="indextopr">
		<div class="FocusPic">
            {pc:content  action="position" posid="1"  order="listorder DESC" thumb="1" num="5"}
            	<div id="main-slide">
                    <div class="changeDiv">  
                    {loop $data $r}
                        <a href="{$r['url']}" title="{str_cut($r['title'],70)}"><img src="{thumb($r['thumb'],555,370)}" alt="{$r['title']}" width="555" height="370" /></a>
                    {/loop}
                    </div>
                </div>
            {/pc}
		</div>
	</div>
    <div class="bk10"></div>
	<div class="col-left">
        <div class="box">
			{php $cid = 9;$chlidids = explode(',', $CATEGORYS[$cid][arrchildid]);}
			{php unset($chlidids[array_search($cid, $chlidids)]);$n=1;}
        		<h5>{$CATEGORYS[$cid]['catname']}
					<span class="index">
						{loop $chlidids $chlidid}
						{if $n!=1} | {/if}
							<a href="{$CATEGORYS[$chlidid][url]}">{$CATEGORYS[$chlidid][catname]}</a>
						{/loop}
					</span>
				</h5>
          {pc:content  action="lists" catid="$cid" thumb="1" order="listorder DESC" num="4"}
            <ul class="indexfang">
             {loop $data $r}
            	<li {if $n==4} style="margin-right:0px;"{/if}>
                    <div class="img-fang">
                        <a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],160,105)}" width="160" height="105" title="{$r[title]}"/></a>
                    </div>
                    <a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],20)}</a>
                </li>
                {/loop}
            </ul>
            {/pc}
        </div>
        <div class="bk10"></div>
		<div class="box">
			{php $cid = 8;$chlidids = explode(',', $CATEGORYS[$cid][arrchildid]);}
			{php unset($chlidids[array_search($cid, $chlidids)]);$n=1;}
        		<h5>{$CATEGORYS[$cid]['catname']}
					<span class="index">
						{loop $chlidids $chlidid}
						{if $n!=1} | {/if}
							<a href="{$CATEGORYS[$chlidid][url]}">{$CATEGORYS[$chlidid][catname]}</a>
						{/loop}
					</span>
				</h5>
          {pc:content  action="lists" catid="$cid" thumb="1" order="listorder DESC" num="4"}
            <ul class="indexfang">
             {loop $data $r}
            	<li {if $n==4} style="margin-right:0px;"{/if}>
                    <div class="img-fang">
                        <a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],160,105)}" width="160" height="105" title="{$r[title]}"/></a>
                    </div>
                    <a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],20)}</a>
                </li>
                {/loop}
            </ul>
            {/pc}
        </div>
		<div class="bk10"></div>
		<div class="box">
			{php $cid = 13;$chlidids = explode(',', $CATEGORYS[$cid][arrchildid]);}
			{php unset($chlidids[array_search($cid, $chlidids)]);$n=1;}
        		<h5>{$CATEGORYS[$cid]['catname']}
					<span class="index">
						{loop $chlidids $chlidid}
						{if $n!=1} | {/if}
							<a href="{$CATEGORYS[$chlidid][url]}">{$CATEGORYS[$chlidid][catname]}</a>
						{/loop}
					</span>
				</h5>
          {pc:content  action="lists" catid="$cid" thumb="1" order="listorder DESC" num="4"}
            <ul class="indexfang">
             {loop $data $r}
            	<li {if $n==4} style="margin-right:0px;"{/if}>
                    <div class="img-fang">
                        <a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],160,105)}" width="160" height="105" title="{$r[title]}"/></a>
                    </div>
                    <a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],20)}</a>
                </li>
                {/loop}
            </ul>
            {/pc}
        </div>
    </div>
    <div class="col-auto">
        <div class="box">
        	<h5 class="title-2">丹东人物<a href="{APP_PATH}index.php?m=special&c=index&a=special&siteid={$siteid}" class="more">更多>></a></h5>
            <div class="content special">
            {pc:special  action="lists" siteid="$siteid" elite="1" listorder="3" num="2"}
            {loop $data $r}
            	{if $n!=1}<div class="hr bk15"></div>{/if}
                <p style="margin:0">
             		<a href="{$r[url]}"><img src="{$r[thumb]}" width="90" height="70" /></a>
                    <strong><a href="{$r[url]}">{str_cut($r[title],'18')}</a></strong><br />{str_cut($r['description'],50)}
                </p>
            {/loop}
            {/pc}
            </div>
        </div>
        <div class="bk10"></div>
        <div class="box">
            <h5 class="title-2"><span class="rt fn f12 tab SwapTab"><span class="fb">热点</span> | <span >评论</span></span>排行</h5>
            <div class="tab-content">
            <ul class="content digg">
			{pc:content action="hits" catid="6" num="10" order="views DESC"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}"{title_style($r[style])}>{$r[title]}</a></li>
				{/loop}
			{/pc}
            </ul>
            <ul class="content digg hidden">
			{pc:comment action="bang" num="10" cache="3600"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank">{$r[title]}</a></li>
				{/loop}
			{/pc}
            </ul>
            </div>
        </div><div class="bk10"></div>
		<div class="indexrightads">{pc:block pos="indexright"}{/pc}</div>
    </div>
</div>
<script type="text/javascript"> 
$(function(){
	new slide("#main-slide","cur",555,370,1);//焦点图
	new SwapTab(".SwapTab","span",".tab-content","ul","fb");//排行TAB
})
</script>
{template "content","footer"}